const songs = [
  { id: 1, name: "html" },
  { id: 2, name: "css" },
  { id: 3, name: "js" },
];
function App() {
  return (
    <div className="App">
      {/* 列表渲染 */}
      <ul>
        {songs.map((songs) => (
          <li key={songs.id}>{songs.name}</li>
        ))}
      </ul>
    </div>
  );
}

export default App;
